<script>
    //1.拷贝对象
    let person1 = {name:"sunjin",age:20}
    let person2 = {...person1}
    // console.log(person2)

    //合并对象
    let name = {name:"Merry"}
    let age = {age:20}

    let person3 = {...name,...age}
    console.log(person3)
</script>